home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateScrolledText.z / XmCreateScrolledText
Encoding:
Text File  |  2003-11-18  |  4.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_S_c_r_o_l_l_e_d_T_e_x_t - The TextScrolledText convenience
  10.       creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/Text.h>
  14.  
  15.       Widget XmCreateScrolledText (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,, aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_S_c_r_o_l_l_e_d_T_e_x_t creates an instance of a    Text widget
  23.       that is contained within a ScrolledWindow.  All
  24.       ScrolledWindow subarea widgets are automatically created by
  25.       this function. The ID    returned by this function is that of
  26.       the Text widget.  Use    this ID    for all    normal Text
  27.       operations, as well as those that are    relevant for the
  28.       ScrolledText widget.
  29.  
  30.       The Text widget defaults to single-line text edit;
  31.       therefore, no    ScrollBars are displayed.  The Text resource
  32.       _X_m_N_e_d_i_t_M_o_d_e must be set to _X_m_M_U_L_T_I__L_I_N_E__E_D_I_T to display the
  33.       ScrollBars.  The results of placing a    Text widget inside a
  34.       ScrolledWindow when the Text's _X_m_N_e_d_i_t_M_o_d_e is
  35.       _X_m_S_I_N_G_L_E__L_I_N_E__E_D_I_T are undefined.
  36.  
  37.       All arguments    to either the Text or the ScrolledWindow
  38.       widget can be    specified at creation time using this
  39.       function.  Changes to    initial    position and size are sent
  40.       only to the ScrolledWindow widget.  Other resources are sent
  41.       to the Text or the ScrolledWindow widget as appropriate.
  42.  
  43.       This function    forces the following initial values for
  44.       ScrolledWindow resources:
  45.  
  46.       +o    _X_m_N_s_c_r_o_l_l_i_n_g_P_o_l_i_c_y is set to _X_m_A_P_P_L_I_C_A_T_I_O_N__D_E_F_I_N_E_D.
  47.  
  48.       +o    _X_m_N_v_i_s_u_a_l_P_o_l_i_c_y is set to _X_m_V_A_R_I_A_B_L_E.
  49.  
  50.       +o    _X_m_N_s_c_r_o_l_l_B_a_r_D_i_s_p_l_a_y_P_o_l_i_c_y is set    to _X_m_S_T_A_T_I_C.
  51.  
  52.       +o    _X_m_N_s_h_a_d_o_w_T_h_i_c_k_n_e_s_s is set to 0.
  53.  
  54.       To obtain the    ID of the ScrolledWindow widget    associated
  55.       with the ScrolledText, use the Xt Intrinsics _X_t_P_a_r_e_n_t
  56.       function.  The name of the ScrolledWindow created by this
  57.       function is formed by    concatenating the letters _S_W onto the
  58.       end of the nnnnaaaammmmeeee specified in the parameter list.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))  UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV  XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX))))
  71.  
  72.  
  73.  
  74.       ppppaaaarrrreeeennnntttt
  75.            Specifies the parent widget ID
  76.  
  77.       nnnnaaaammmmeeee Specifies the name of the created widget
  78.  
  79.       aaaarrrrgggglllliiiisssstttt
  80.            Specifies the argument list
  81.  
  82.       aaaarrrrggggccccoooouuuunnnntttt
  83.            Specifies the number of attribute/value pairs in    the
  84.            argument    list (aaaarrrrgggglllliiiisssstttt)
  85.  
  86.       For a    complete definition of Text and    its associated
  87.       resources, see _X_m_T_e_x_t(_3_X).
  88.  
  89.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  90.       Returns the Text widget ID.
  91.  
  92.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  93.       _X_m_S_c_r_o_l_l_e_d_W_i_n_d_o_w(_3_X) and _X_m_T_e_x_t(_3_X).
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                        (printed 11/11/03)
  130.  
  131.  
  132.  
  133.